﻿using Domain.Core;
using System;
using System.Collections.Generic;

namespace Domain.Models.Account
{
    public class Customer : RowVersionEntity
    {
        public Customer()
        {
            this.Roles = new List<Role>();
        }

        public string UserName { get; set; }

        public string Password { get; set; }

        public string SaltKey { get; set; }

        public string Email { get; set; }

        public bool EmailConfirmed { get; set; }

        public string PhoneNumber { get; set; }

        public bool PhoneNumberConfirmed { get; set; }

        public bool LockoutEnabled { get; set; }

        public int AccessFailedCount { get; set; }

        public DateTime? LockoutEndDateUtc { get; set; }

        public virtual ICollection<Role> Roles { get; set; }
    }
}